package com.wlw.entity;

import java.util.HashSet;
import java.util.Set;

public class Foreign {
	private Integer id;
	private String continent;
	private String country;
	//一个外国包含多个城市
	private Set<City> cities = new HashSet<City>();
	public Set<City> getCities() {
		return cities;
	}
	public void setCities(Set<City> cities) {
		this.cities = cities;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getContinent() {
		return continent;
	}
	public void setContinent(String continent) {
		this.continent = continent;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
		
}
